.class public Lcom/xingbook/ui/a/ad;
.super Lcom/xingbook/ui/a/c;

# interfaces
.implements Lcom/xingbook/ui/a/ac;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field private A:I

.field private B:Lcom/xingbook/d/a;

.field private C:Landroid/os/Handler;

.field n:I

.field private o:Lcn/a/a/b/k;

.field private p:[Lcn/a/a/d/b;

.field private q:[Landroid/view/animation/AnimationSet;

.field private r:[Landroid/view/animation/AnimationSet;

.field private s:[I

.field private t:Z

.field private u:Z

.field private v:I

.field private w:Landroid/graphics/Bitmap;

.field private x:Landroid/graphics/Bitmap;

.field private y:Landroid/widget/ImageView;

.field private z:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;Lcom/xingbook/d/a;)V
    .locals 4

    const/4 v1, 0x0

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/xingbook/ui/a/c;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    iput-boolean v0, p0, Lcom/xingbook/ui/a/ad;->t:Z

    iput-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    iput v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    iput v0, p0, Lcom/xingbook/ui/a/ad;->n:I

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->x:Landroid/graphics/Bitmap;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    const/4 v1, -0x1

    iput v1, p0, Lcom/xingbook/ui/a/ad;->A:I

    new-instance v1, Lcom/xingbook/ui/a/ai;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/a/ai;-><init>(Lcom/xingbook/ui/a/ad;)V

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    iput-object p5, p0, Lcom/xingbook/ui/a/ad;->B:Lcom/xingbook/d/a;

    check-cast p3, Lcn/a/a/b/k;

    iput-object p3, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    invoke-virtual {v1}, Lcn/a/a/b/k;->a()I

    move-result v1

    iput v1, p0, Lcom/xingbook/ui/a/ad;->n:I

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    invoke-virtual {v1}, Lcn/a/a/b/k;->f()Lcn/a/a/d/e;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/e;->a()Z

    move-result v1

    iput-boolean v1, p0, Lcom/xingbook/ui/a/ad;->t:Z

    iget v1, p0, Lcom/xingbook/ui/a/ad;->n:I

    new-array v1, v1, [Landroid/view/animation/AnimationSet;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->n:I

    new-array v1, v1, [Landroid/view/animation/AnimationSet;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->n:I

    new-array v1, v1, [I

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->s:[I

    iget v1, p0, Lcom/xingbook/ui/a/ad;->n:I

    if-lez v1, :cond_0

    new-instance v1, Landroid/widget/ImageView;

    invoke-direct {v1, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget v2, p0, Lcom/xingbook/ui/a/ad;->i:I

    iget v3, p0, Lcom/xingbook/ui/a/ad;->h:I

    invoke-virtual {v1, v0, v0, v2, v3}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/ad;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    const/4 v2, 0x4

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    new-instance v1, Landroid/widget/ImageView;

    invoke-direct {v1, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget v2, p0, Lcom/xingbook/ui/a/ad;->i:I

    iget v3, p0, Lcom/xingbook/ui/a/ad;->h:I

    invoke-virtual {v1, v0, v0, v2, v3}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/ad;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    invoke-virtual {v1}, Lcn/a/a/b/k;->b()[Lcn/a/a/d/b;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->p:[Lcn/a/a/d/b;

    move v1, v0

    :goto_0
    iget v0, p0, Lcom/xingbook/ui/a/ad;->n:I

    if-lt v1, v0, :cond_1

    :cond_0
    return-void

    :cond_1
    iget-object v2, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    sget-object v0, Lcom/xingbook/anima/a;->a:Landroid/util/SparseArray;

    iget-object v3, p0, Lcom/xingbook/ui/a/ad;->p:[Lcn/a/a/d/b;

    aget-object v3, v3, v1

    invoke-virtual {v3}, Lcn/a/a/d/b;->b()I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/animation/AnimationSet;

    aput-object v0, v2, v1

    iget-object v2, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    sget-object v0, Lcom/xingbook/anima/a;->a:Landroid/util/SparseArray;

    iget-object v3, p0, Lcom/xingbook/ui/a/ad;->p:[Lcn/a/a/d/b;

    aget-object v3, v3, v1

    invoke-virtual {v3}, Lcn/a/a/d/b;->c()I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/animation/AnimationSet;

    aput-object v0, v2, v1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->s:[I

    iget-object v2, p0, Lcom/xingbook/ui/a/ad;->p:[Lcn/a/a/d/b;

    aget-object v2, v2, v1

    invoke-virtual {v2}, Lcn/a/a/d/b;->d()I

    move-result v2

    aput v2, v0, v1

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method static synthetic a(Lcom/xingbook/ui/a/ad;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/a/ad;->m()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/a/ad;Landroid/graphics/Bitmap;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/a/ad;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/ui/a/ad;->d(Z)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ui/a/ad;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/a/ad;->n()V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/ui/a/ad;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    return-object v0
.end method

.method private d(Z)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget v0, p0, Lcom/xingbook/ui/a/ad;->n:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->x:Landroid/graphics/Bitmap;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->x:Landroid/graphics/Bitmap;

    iput-object v0, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    :goto_0
    iget v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    if-nez v0, :cond_0

    iget-boolean v0, p0, Lcom/xingbook/ui/a/ad;->t:Z

    if-nez v0, :cond_0

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->d:I

    const/4 v2, 0x7

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    iput-object v0, p0, Lcom/xingbook/ui/a/ad;->x:Landroid/graphics/Bitmap;

    iput-object v2, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/xingbook/ui/a/ag;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/a/ag;-><init>(Lcom/xingbook/ui/a/ad;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    goto :goto_0
.end method

.method static synthetic d(Lcom/xingbook/ui/a/ad;)[I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->s:[I

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/ui/a/ad;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    return v0
.end method

.method static synthetic f(Lcom/xingbook/ui/a/ad;)Lcom/xingbook/d/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->B:Lcom/xingbook/d/a;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/ui/a/ad;)Lcn/a/a/b/k;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    return-object v0
.end method

.method private m()V
    .locals 3

    iget-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    new-instance v1, Lcom/xingbook/ui/a/ae;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/a/ae;-><init>(Lcom/xingbook/ui/a/ad;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    iget v2, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/xingbook/ui/a/ad;->n()V

    goto :goto_0
.end method

.method private n()V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    iget v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    iget v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    iget v1, p0, Lcom/xingbook/ui/a/ad;->n:I

    if-ne v0, v1, :cond_0

    iput v4, p0, Lcom/xingbook/ui/a/ad;->v:I

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2

    iget v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    iget v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    if-gez v0, :cond_1

    iget v0, p0, Lcom/xingbook/ui/a/ad;->n:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/xingbook/ui/a/ad;->v:I

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    const/4 v1, 0x2

    const-wide/16 v2, 0xa

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->bringToFront()V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    new-instance v1, Lcom/xingbook/ui/a/af;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/a/af;-><init>(Lcom/xingbook/ui/a/ad;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v2, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    :goto_0
    return-void

    :cond_3
    invoke-direct {p0, v5}, Lcom/xingbook/ui/a/ad;->d(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->s:[I

    iget v2, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget v1, v1, v2

    int-to-long v1, v1

    invoke-virtual {v0, v5, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0
.end method

.method private o()V
    .locals 4

    const/4 v3, 0x1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iput-boolean v3, p0, Lcom/xingbook/ui/a/ad;->u:Z

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    new-instance v1, Lcom/xingbook/ui/a/ah;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/a/ah;-><init>(Lcom/xingbook/ui/a/ad;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AnimationSet;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->bringToFront()V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    iget v2, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->s:[I

    iget v2, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget v1, v1, v2

    int-to-long v1, v1

    invoke-virtual {v0, v3, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 3

    const/4 v2, 0x0

    iget v0, p0, Lcom/xingbook/ui/a/ad;->A:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/a/ad;->a(Z)V

    iput v2, p0, Lcom/xingbook/ui/a/ad;->A:I

    :cond_0
    return-void
.end method

.method public a(Z)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->b:Lcom/xingbook/ui/b/a;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->c:Lcn/a/a/b/b;

    invoke-virtual {v1}, Lcn/a/a/b/b;->i()I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/ui/a/ad;->c:Lcn/a/a/b/b;

    invoke-virtual {v2}, Lcn/a/a/b/b;->j()I

    move-result v2

    const/4 v3, 0x2

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/ui/b/a;->b(III)V

    invoke-direct {p0}, Lcom/xingbook/ui/a/ad;->o()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->d:I

    const/4 v2, 0x5

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_0
    return-void
.end method

.method public b()V
    .locals 2

    const/4 v1, 0x1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/ad;->b(Z)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v1}, Lcom/xingbook/ui/a/ad;->a(Z)V

    goto :goto_0
.end method

.method public b(Z)V
    .locals 3

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->d:I

    const/4 v2, 0x6

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    :cond_0
    const/4 v0, 0x1

    iput v0, p0, Lcom/xingbook/ui/a/ad;->A:I

    return-void
.end method

.method public c()V
    .locals 3

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->c()V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    invoke-virtual {v0}, Lcn/a/a/b/k;->b()[Lcn/a/a/d/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->B:Lcom/xingbook/d/a;

    const/4 v2, 0x1

    aget-object v2, v0, v2

    invoke-virtual {v2}, Lcn/a/a/d/b;->a()I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->B:Lcom/xingbook/d/a;

    const/4 v2, 0x0

    aget-object v0, v0, v2

    invoke-virtual {v0}, Lcn/a/a/d/b;->a()I

    move-result v0

    invoke-virtual {v1, v0}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/ad;->x:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->x:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    return-void
.end method

.method public c(Z)V
    .locals 4

    const/4 v3, 0x0

    invoke-virtual {p0}, Lcom/xingbook/ui/a/ad;->l()V

    iget-boolean v0, p0, Lcom/xingbook/ui/a/ad;->u:Z

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-boolean v3, p0, Lcom/xingbook/ui/a/ad;->u:Z

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v0, v0, v1

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->r:[Landroid/view/animation/AnimationSet;

    iget v2, p0, Lcom/xingbook/ui/a/ad;->v:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->B:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    invoke-virtual {v1}, Lcn/a/a/b/k;->b()[Lcn/a/a/d/b;

    move-result-object v1

    aget-object v1, v1, v3

    invoke-virtual {v1}, Lcn/a/a/d/b;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->j(I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->w:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    aget-object v0, v0, v3

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/a/ad;->q:[Landroid/view/animation/AnimationSet;

    aget-object v1, v1, v3

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_3
    iput v3, p0, Lcom/xingbook/ui/a/ad;->v:I

    invoke-direct {p0, p1}, Lcom/xingbook/ui/a/ad;->d(Z)V

    iget-boolean v0, p0, Lcom/xingbook/ui/a/ad;->t:Z

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/a/ad;->d:I

    const/4 v2, 0x7

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ui/b/a;->a(II)Z

    goto :goto_0
.end method

.method public d()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->o:Lcn/a/a/b/k;

    invoke-virtual {v0}, Lcn/a/a/b/k;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/ad;->a(Z)V

    :cond_0
    invoke-super {p0}, Lcom/xingbook/ui/a/c;->d()V

    return-void
.end method

.method public e()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->e()V

    invoke-virtual {p0}, Lcom/xingbook/ui/a/ad;->l()V

    return-void
.end method

.method public f()V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->y:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    invoke-super {p0}, Lcom/xingbook/ui/a/c;->f()V

    return-void
.end method

.method public g()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->g()V

    return-void
.end method

.method public l()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/ad;->C:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    return-void
.end method
